<style type="text/css">
body{background:#eee}
.storelogo img{width:3.2rem;height:3.2rem}
.merchgroup .store-star {padding:0.1rem 0 0.2rem 0;font-size:0.65rem;line-height:1rem}
.merchgroup .store-star img{height:0.66rem}
.star-on,.star-off{position:absolute;top:1rem;left:0;overflow:hidden}
.star-rate {margin-left:0.2rem;color:#19b955}
.store-distance{float:right;color:#999}
.store-moneylimit{font-size:0.65rem}
.fui-radius{background:#fff;margin:0 0.6rem;border-radius:0.5rem}

</style>
<div class="fui-page" ng-if="pagedata.isshowarea !=1">
<div class="fui-content">
<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true">
		<div class="carousel-inner" role="listbox" style="height:10rem">
			<div ng-class="{'item':1,'active':$index==0}" ng-repeat="item in pagedata.adv">
				
				<a href="{{item.url}}">
					<img src="{{tomedia(item.image) || '../core/resource/images/banner-1.jpg'}}" style="display: block; width: 100%; height: 10rem;">
				</a>
			</div>
		</div>
			<style>
					.fui-swipe-page .fui-swipe-bullet {background: {background}; opacity: {opacity};}
					.fui-swipe-page .fui-swipe-bullet.active {opacity: 1;}
			</style>
			<div id="carousel-jinyun" class="fui-swipe-page" style="padding: 0 5px; bottom: 10px; ">
				<div class="fui-swipe-bullet" ng-repeat="item in pagedata.adv" ng-class="{'active':$index==0}" data-target="#carousel-container" data-slide-to="{{$index}}"></div>
			</div>
</div>
<div class="fui-radius" style="height:auto;margin-top:-3rem;"> 
	<div class="fui-cell-group" style="border-radius:0.5rem">
		<div class="fui-cell" style="padding:0.5rem">
				<div class="fui-cell-label" ng-click="pagedata.isshowarea=1">
					{{pagedata.pcd.city || '广州市'}}
					<i class="icon jinyunicon icon-moreunfold"></i>
				</div>
				<div class="fui-cell-text" style="top:0.5rem;right:0.5rem;">
					<div class="searchbar searchbar-active">
							<div class="search-input">
								<input type="search" placeholder="请输入酒店名称" class="search" ng-model="pagedata.params.keyword" style="text-align: left; color: #999; font-size:0.7rem;background:#f9f9f9;border-radius: 1rem;border: 0 solid #ddd;" />
							</div>
					</div>
				</div>
				<div class="fui-cell-remark noremark" style="padding-left:0.5rem;">
						当前位置
						<i class="icon jinyunicon icon-ditu" ng-click="pagedata.uplocation(1);"></i>
				</div>
		</div>
		<div ng-include="sys_html('common/_settime')"></div>
		<div class='btn btn-danger block btn-submit' href="javascript:" ng-click="access_json('/list//keyword='+pagedata.params.keyword)" >预定酒店</div>
		<div ng-include="sys_html('_notice')"></div>
	</div>
</div>
<div ng-include="sys_html('_bankuai')"></div>
<div ng-if="pagedata.pluginset.is_nowanghong!=1" class="bold" style="font-size:1rem;padding:0 0.7rem;padding-top:0.5rem"><a href="javascript:;">月度推荐</a></div>
<div ng-if="pagedata.pluginset.is_nowanghong!=1" style="overflow-x:scroll;white-space:nowrap;padding:0.3rem">
	<div ng-repeat="item in pagedata.pluginset.bankuai2" class="jylabels jylabel-f3f3f3" style="background-color:#fff" ng-click="access_json(item.action)">{{item.title}}</div>
</div>
<div class="radius" style="padding:0.3rem 0.5rem;" ng-if="pagedata.pluginset.ishdps!=1">
<div ng-include="sys_html('_hdps')"></div>
</div>
<div class="fui-radius" ng-if="pagedata.pluginset.is_notuihotel!=1">
<div ng-include="sys_html('_goodstwo')"></div>
</div>
<div class="bold" style="font-size:1rem;padding:0 0.7rem;padding-top:0.5rem"><a href="javascript:;">附近酒店</a></div>
<div class="fui-list-group" style="margin-top:0;background:none;padding:0 0.6rem">
	<ul class="fui-list" style="font-size:0.65rem;padding:0 0.5rem">
		<li ng-click="pagedata.params.order='all';pagedata.get_list();" ng-class="{'fui-list-inner':1,'bold':pagedata.params.order=='all'}"><span>综合排序</span><i class="icon icon-moreunfold"></i></li>
		<li ng-click="pagedata.params.order='star';pagedata.get_list();" ng-class="{'fui-list-inner':1,'bold':pagedata.params.order=='star'}"><span>评分排序</span><i class="icon icon-moreunfold"></i></li>
		<li ng-click="pagedata.params.order='sale';pagedata.get_list();" ng-class="{'fui-list-inner':1,'bold':pagedata.params.order=='sale'}"><span>销量排序</span><i class="icon icon-moreunfold"></i></li>
		<li ng-click="pagedata.params.order='juli';pagedata.get_list();" ng-class="{'fui-list-inner':1,'bold':pagedata.params.order=='juli'}"><span>距离排序</span><i class="icon icon-moreunfold"></i></li>
	</ul>
</div>
<div class="fui-radius" style="margin-bottom:2rem">
<div ng-include="sys_html('_jdlist')"></div>
</div>
</div>
</div>
<div ng-include="sys_html('common/_area')"></div>
<div ng-include="sys_html('_footer')"></div>
<script type="text/javascript">
scope.pagedata.openLocation=function(item){
	wx.openLocation({
	latitude: item.lat_lng.lat, // 纬度，浮点数，范围为90 ~ -90
	longitude: item.lat_lng.lng, // 经度，浮点数，范围为180 ~ -180。
		name: item.province+item.city+item.district, // 位置名
		address: item.address, // 地址详情说明
		scale: 20, // 地图缩放级别,整形值,范围从1~28。默认为最大
		infoUrl: '', // 在查看位置界面底部显示的超链接,可点击跳转
		success:function(){
			//alert(1111);
		}
	});
}
</script>